SetItem Method (IndexedCollection<T>)
In This Topic
Replaces the element at the specified ordinal position.
Syntax
'Declaration
Protected Overrides Sub SetItem( _
ByVal As Integer, _
ByVal As _
)
protected override void SetItem(
int ,
)
Parameters
- ordinal
- The zero-based ordinal of the element to replace.
- newItem
- The new value for the element at the specified ordinal. The value can be null for reference types.
See Also